/**
 * Copyright © 2021-2025 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.organization.service.dto;

import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.jeeplus.core.service.dto.BaseDTO;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;
/**
 * 请示记录DTO
 * @author 淋漓
 * @version 2024-06-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class OfficeRecordDTO extends BaseDTO {

	private static final long serialVersionUID = 1L;

	/**
	 * 文件名
	 */
	@ExcelProperty("文件名")
	private String name;

	/**
     * 状态
     */
	@ExcelProperty("状态")
	private String status;

	/**
     * 备注
     */
	@ExcelProperty("备注")
	private String remarks;

	/**
     * 发布时间
     */
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@ExcelProperty("发布时间")
	private Date deliverTime;

	/**
     * 处理时间
     */
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@ExcelProperty("处理时间")
	private Date dealTime;

	public OfficeRecordDTO(){}
	public OfficeRecordDTO(String id,String status){
		this.setId(id);
		this.status=status;
		this.deliverTime=new Date();
	}
}
